home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dirut
/
snif134.zip
/
EX1.CTL
next >
Wrap
Text File
|
1991-11-18
|
643b
|
22 lines
;
; SNiF example 1 control file
;
; Converts all .ZIP archives on current drive to .LZH format
; PkUnzip and Lha should be in the DOS path
;
-d ; turn off sniffed messages
+w@@ ; only search current drive
;
; Execute these commands when a .ZIP file is found
;
+xmd _tmp_ ; make _tmp_ directory
+xpkunzip &f _tmp_ ; unzip archive into it
+xlha m &p&n _tmp_\*.* ; create new .LZH style archive
+xdel &f ; delete original .ZIP file
+xrd _tmp_ ; and delete _tmp_ directory
;
; The actual filemask to snif for
;
*.ZIP